<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>练习4</title>
    <style>
        div{
            background-color: green;
            height: 100px;
            width: 200px;
            
            text-align: center;
            vertical-align:middle;
            margin: 22px;
        }
        span{
            color: white;
            font-size: 22px;
            line-height: 100px;
        }
        img{
            width: 40px;
            height: 40px;
        }
    </style>
</head>

<body>
    <div>
        <img src="1.jpg" alt="">
        <span>循环第一首</span>
    </div>
    <div>
        <img src="1.jpg" alt="">
        <span>循环第一首</span>
    </div>
    <div>
        <img src="1.jpg" alt="">
        <span>循环第一首</span>
    </div>



</body>

</html>